<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="user">
    </div>
    <script src="./jquery-1.8.3.min.js"></script>
    <script>
        var userList = JSON.parse(localStorage.getItem("userList"))
        console.log(userList);
        
        var obj = "";
        obj = `
        <div>描述：${userList.data.address}</div>
        <div>邮箱：${userList.data.email}</div>
        <div>爱好：${userList.data.hobby}</div>
        <div>身份证号：${userList.data.idCode}</div>
        <div>major：${userList.data.major}</div>
        <div>薪资：${userList.data.money}</div>
        <div>密码：${userList.data.password}</div>
        <div>手机号：${userList.data.phone}</div>
        <div>学校：${userList.data.school}</div>
        <div>性别：${userList.data.sex}</div>
        <div>头像:${userList.data.touphoto}</div>
         <div>用户年龄:${userList.data.userage}</div>
          <div>用户名称:${userList.data.username}</div>

        `
        $(".user").append(obj)
    </script>
</body>

</html>